package cn.wolfcode.service;

import cn.wolfcode.domain.Permission;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {

    void delete(Long id);

    void update(Permission permission,Long[] ids);

    void insert(Permission permission,Long[] ids);

    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    PageInfo<Permission> query(QueryObject queryObject);

    List<Permission> selectEmpAndPermission(Long empId);

    void reload ();
}
